package gdma.hqdes.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import gdma.hqdes.bean.StatIndex;
import org.apache.ibatis.annotations.Mapper;

import javax.annotation.Nullable;
import java.util.Collection;
import java.util.List;

@Mapper
public interface StatIndexMapper extends BaseMapper<StatIndex> {

    StatIndex getStatIndex(Long id);

    List<StatIndex> getStatIndexes(int verId);

    List<StatIndex> listStatIndexes(@Nullable Collection<Integer> verIds, @Nullable Collection<String> codes, @Nullable String name);

}
